package com.orientsec.autotest.project.system.systemSqlconn.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.orientsec.autotest.framework.web.domain.BaseEntity;

/**
 * sql连接字符串表 system_sqlconn
 * 
 * @author autotest
 * @date 2019-12-18
 */
public class SystemSqlconn extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键id */
	private Integer id;
	/** 名称 */
	private String name;
	/** 描述 */
	private String desc;
	/** 系统类型id */
	private Integer stId;
	/** 连接字符串 */
	private String val;
	/** 数据库类型 */
	private Integer dbType;
	/** 结构 */
	private String structVal;
	/** 第几行开始读 */
	private String startindex;
	/** 0表示读取所有 */
	private String rowcount;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setDesc(String desc) 
	{
		this.desc = desc;
	}

	public String getDesc() 
	{
		return desc;
	}
	public void setStId(Integer stId) 
	{
		this.stId = stId;
	}

	public Integer getStId() 
	{
		return stId;
	}
	public void setVal(String val) 
	{
		this.val = val;
	}

	public String getVal() 
	{
		return val;
	}
	public void setDbType(Integer dbType) 
	{
		this.dbType = dbType;
	}

	public Integer getDbType() 
	{
		return dbType;
	}
	public void setStructVal(String structVal) 
	{
		this.structVal = structVal;
	}

	public String getStructVal() 
	{
		return structVal;
	}
	public void setStartindex(String startindex) 
	{
		this.startindex = startindex;
	}

	public String getStartindex() 
	{
		return startindex;
	}
	public void setRowcount(String rowcount) 
	{
		this.rowcount = rowcount;
	}

	public String getRowcount() 
	{
		return rowcount;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("desc", getDesc())
            .append("stId", getStId())
            .append("val", getVal())
            .append("dbType", getDbType())
            .append("structVal", getStructVal())
            .append("startindex", getStartindex())
            .append("rowcount", getRowcount())
            .toString();
    }
}
